home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / a_man / cat1 / mknod.z / mknod
Encoding:
Text File  |  1998-10-20  |  1.8 KB  |  67 lines

  1.  
  2.  
  3.  
  4. mmmmkkkknnnnoooodddd((((1111MMMM))))                                                            mmmmkkkknnnnoooodddd((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      mknod - build special file or named pipe (FIFO)
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      mmmmkkkknnnnoooodddd name bbbb | cccc major minor
  13.      mmmmkkkknnnnoooodddd name pppp
  14.  
  15. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.      _m_k_n_o_d makes a directory entry and corresponding inode for a special file
  17.      or named pipe.  The first argument is the _n_a_m_e of the entry to create.
  18.  
  19.      In the first form of the command, the second argument is bbbb if the special
  20.      file describes a block device (disks, tape) or cccc if it is a character
  21.      device (for example, a tty line).  The last two arguments are numbers
  22.      specifying the _m_a_j_o_r device number and the _m_i_n_o_r device number (for
  23.      example, the unit, drive, or line number).  They may be either decimal or
  24.      octal.  The assignment of major device numbers is specific to each
  25.      system.  The information is contained in the system source file
  26.      /_u_s_r/_i_n_c_l_u_d_e/_s_y_s/_m_a_j_o_r._h.
  27.  
  28.      You must be the superuser to use this form of the command.  The normal
  29.      convention is to keep all special device files under the /_d_e_v directory.
  30.  
  31.      The second form of the _m_k_n_o_d command is used to create named pipes
  32.      (a.k.a. FIFOs).  This form of the command is not restricted to the
  33.      superuser.
  34.  
  35. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  36.      mknod(2).
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.